<name>Ken Brahan</name>
<profession>Stablemaster</profession>
<faction>Serenity</faction>
<dialogue>
  <greeting>
    <reply>
      <text>May your journeys bring you to the corners of this world.</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>What do stables have to offer?</text>
      <npc>
        <reply>
          <text>A coach ride, [gender], faster than you would normally go on foot. And it doesn't cost much.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>We would like a ride to Mt. Pilanteko.</text>
      <npc>
        <reply>
          <if><day>Saturday</day></if>
          <text>The coach leaves on Monday.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><day>Tuesday</day></if>
          <text>The coach leaves tomorrow.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><day>Thursday</day></if>
          <text>The coach leaves tomorrow.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><day>Sunday</day></if>
          <text>The coach leaves tomorrow.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><hour>!6</hour></if>
          <text>The coach will not be ready until six, [gender].</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><hour>18</hour></if>
          <text>You just missed the coach! The next one will go in a couple of days.</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><gold>!travel</gold></if>
          <text>You cannot pay the fee.</text>
          <return>main</return> 
        </reply>
        <reply>
          <script>
            <gold>travel</gold>
            <log>Took coach to Mt. Pilanteko</log>
            <days>2</days>
            <music>harmonious</music>
            <map>Mt. Pilanteko</map>
            <log>Arrived in Mt. Pilanteko</log>
          </script>
          <return>exit</return>
        </reply>
      </npc>
    </option>
    <option>
      <text>We'll be back another time.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>